myApp.controller('CheckAlertCtrl', function ($scope, $uibModal, $uibModalInstance, info) {
    $scope.info = info;

    $scope.save = function () {
        $uibModalInstance.dismiss($scope.info);
    };

    $scope.cancel = function () {
        $uibModalInstance.close('cancel');
    };
});